package com.ctg.behavior.calc.feign.usergroups;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import com.ctg.behavior.common.usergroups.CtUGCalcRequest;
import com.ctg.behavior.common.usergroups.CtUGCalcResult;

// @FeignClient(value = "${provider.application.name}")
public interface CtUserGroupsFeignClient {
	
	// 用户分群分析计算
	@PostMapping("/api/userGroups/report/full")
	public CtUGCalcResult doFullCalc(@RequestBody CtUGCalcRequest request);
	
	// 用户分群人数评估报告
	@PostMapping("/api/userGroups/report/estimate")
	public CtUGCalcResult doEstimateCalc(@RequestBody CtUGCalcRequest request);

}
